From: Florian Müllner Date: Sat, 15 Sep 2012 20:41:18 +0000 (+0200) Subject: grabHelper: Remove unused parameters X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5843 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ff31ccdd30dee5af346a270407e7e0582f469d29;p=gnome-shell.git grabHelper: Remove unused parameters Some left-overs from commit b203a95a7 ... https://bugzilla.gnome.org/show_bug.cgi?id=683546 --- diff --git a/js/ui/grabHelper.js b/js/ui/grabHelper.js index 6af5480a8..6c7511fdf 100644 --- a/js/ui/grabHelper.js +++ b/js/ui/grabHelper.js @@ -160,7 +160,7 @@ const GrabHelper = new Lang.Class({ this._grabStack.push(params); if (params.modal) - this._takeModalGrab(hadFocus); + this._takeModalGrab(); if (params.grabFocus) this._takeFocusGrab(hadFocus); @@ -171,7 +171,7 @@ const GrabHelper = new Lang.Class({ return true; }, - _takeModalGrab: function(hadFocus) { + _takeModalGrab: function() { let firstGrab = (this._modalCount == 0); this._modalCount++; if (!firstGrab)